package com.dsg.entity.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系統節假日設置
 * </p>
 *
 * @author system
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_sys_holiday")
@ApiModel(value="DsgSysHoliday对象", description="系統節假日設置")
public class DsgSysHoliday implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "年份")
    @TableField("DSG_YEAR")
    private String dsgYear;

    @ApiModelProperty(value = "日期")
    @TableField("DSG_DATE")
    private String dsgDate;

    @ApiModelProperty(value = "節假日名")
    @TableField("DSG_NAME")
    private String dsgName;

    @ApiModelProperty(value = "企業編碼")
    @TableField("ENT_CODE")
    private String entCode;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "開始日期")
    @TableField(exist = false)
    private String dsgDateBegin;

    @ApiModelProperty(value = "結束日期")
    @TableField(exist = false)
    private String dsgDateEnd;
}
